<?php
/**
 * Joomla! 1.5 component jhtraq
 *
 * @version $Id: view.html.php 2010-03-09 08:28:06 svn $
 * @author JHShop
 * @package Joomla
 * @subpackage jhtraq
 * @license GNU/GPL
 *
 * Traq type system for Joomla
 *
 * This component file was created using the Joomla Component Creator by Not Web Design
 * http://www.notwebdesign.com/joomla_component_creator/
 *
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport( 'joomla.application.component.view');

/**
 * HTML View class for the jhtraq component
 */
class JhtraqViewCaptcha extends JView {
	function display($tpl = null) {
	   	$model =& JhtraqHelper::getModel('settings');
	   	$settings =$model->getConfig();
        require_once(JPATH_BASE . '/components/com_jhtraq/extras/captcha/' . $settings['captcha_engine']);
	   	genCaptcha();
	   	die();
	}
}
